<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<script src="${ctxStatic}/jquery/jquery-1.8.3.min.js"></script>
<script src="${ctxStatic}/vendor/jquery-select2/3.4/select2.js" type="text/javascript"></script>
<script src="${ctxStatic}/vendor/parsleyjs/dist/parsley.js" type="text/javascript"></script>
<meta name="decorator" content="default"/>
<style>
    .col-margin {margin: 10px 0px;}
    .col-sm-11 {
        width: 100%;
    }
    .col-lg-10 {width: 98%;margin-left: 20px;padding-top:7px;text-align: left}
    .panel-body {
        padding: 15px 30px 15px 0;
    }
    .table-title {
        font-size: 15px;
        font-weight: bold;
        padding-top:5px;
        text-align: center;
        width: 100%;
    }
    .col-sm-2 {
        width: 20%;
    }
    .col-sm-10 {
        width: 80%;
    }
</style>
<div class="panel-body" style="padding-top:10px;background-color: white;">
    <form:form id="inputForm" data-parsley-validate="" modelAttribute="pregnantNatalcRecord" method="post" class="form-horizontal" >
        <input type="hidden" id="id" name="id" value="${pregnantNatalcRecord.id}" >
        <input type="hidden" id="clinicId" name="clinicId" value="${clinicMaster.id}" >
        <input type="hidden" name="patientId" value="${clinicMaster.patientId}" >
        <input type="hidden" name="cardNo" value="${clinicMaster.patMasterIndex.cardNo}" >
        <input type="hidden" id="idNo" name="idNo" value="${clinicMaster.patMasterIndex.idNo}" >
        <input type="hidden" name="visitDept" value="${clinicMaster.deptId}" >
        <input type="hidden" name="orgId" value="${clinicMaster.orgId}" >
        <p style="font-weight: bold;font-size: 20px;text-align: center">产后42天体检表</p>

        <div class="col-lg-10">
            <table border="1px" width="100%">
                <tr>
                    <td width="10%" colspan="3">
                        <div class="col-sm-11 col-margin">
                            <input type="hidden" id="inpDept" value="${pregnantNatalcRecord.inpDept}">
                            <div class="col-sm-4">
                                <label class="col-sm-4 control-label">住院科室：</label>
                                <div class="col-sm-7">
                                    <sys:treeselect selectedParent="true"  method="selectDoctor" isnull="true" id="pregnantNatalcRecord" name="inpDept"
                                                    value="${pregnantNatalcRecord.inpDept}" update="false"
                                                    labelName="${pregnantNatalcRecord.inpDeptName}"
                                                    labelValue="${pregnantNatalcRecord.inpDeptName}"
                                                    title="科室" url="/sys/orgDept/treeData?clinicAttrs=2"
                                                    cssClass="form-control"/>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <label class="col-sm-4 control-label">主管医生：</label>
                                <div class="col-sm-7">
                                    <input type="hidden" value="${pregnantNatalcRecord.doctorInCharge}" id="doctorInCharge">
                                        <form:select path="doctorInCharge" id="selectId" class="form-control">
                                        <form:option value="" label="请选择"></form:option>
                                        </form:select>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <label class="col-sm-4 control-label">联系电话：</label>
                                <div class="col-sm-7">
                                    <input type="text" data-parsley-mobilephone="ture"   name="telPhone" id="telPhone"
                                           value="${pregnantNatalcRecord.telPhone }" class="form-control">
                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td width="10%" rowspan="8">
                        <label class="table-title">询问病史</label>
                    </td>
                    <td width="15%" rowspan="4">
                        <label class="table-title">住院分娩情况</label>
                    </td>
                    <td width="65%">
                        <div class="col-sm-11 col-margin">
                            <label class="col-sm-2 control-label">分娩方式：</label>
                            <div class="col-sm-10">
                                <sys:select isNull="1" checkValue="${pregnantNatalcRecord.modeOfDelivery}"
                                            lists="${fns:getDictList('MODE_OF_DELIVERY')}"
                                            className="form-control" name="modeOfDelivery"></sys:select>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="col-sm-11 col-margin">
                            <label class="col-sm-2 control-label">分娩时特殊情况：</label>
                            <div class="col-sm-10">
                                <input type="text"  name="deliveryCon"
                                       id="deliveryCon" value="${pregnantNatalcRecord.deliveryCon}" class="form-control">
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="col-sm-11 col-margin">
                            <label class="col-sm-2 control-label">产后康复情况：</label>
                            <div class="col-sm-10">
                                <sys:select isNull="1" checkValue="${pregnantNatalcRecord.postpartumRecovery}"
                                            lists="${fns:getDictList('POSTPARTUM_RECOVERY')}"
                                            className="form-control" name="postpartumRecovery"></sys:select>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="col-sm-11 col-margin">
                            <label class="col-sm-2 control-label">特殊医嘱：</label>
                            <div class="col-sm-10">
                                <input type="text"  name="postpartumRecovery"
                                       id="postpartumRecovery" value="${pregnantNatalcRecord.postpartumRecovery}" class="form-control">
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="table-title">母乳喂养情况</label>
                    </td>
                    <td>
                        <div class="col-sm-11 col-margin">
                        <sys:select isNull="1" checkValue="${pregnantNatalcRecord.breastFeeding}"
                                    lists="${fns:getDictList('BREAST_FEEDING')}"
                                    className="form-control" name="breastFeeding"></sys:select>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="table-title">询问计划生育情况</label>
                    </td>
                    <td>
                        <div class="col-sm-11 col-margin">
                            <input type="text"  name="askBirthControl"
                                   id="askBirthControl" value="${pregnantNatalcRecord.askBirthControl}" class="form-control">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="table-title">婴儿访视情况</label>
                    </td>
                    <td>
                        <div class="col-sm-11 col-margin">
                            <sys:select isNull="1" checkValue="${pregnantNatalcRecord.babyVisits}"
                                        lists="${fns:getDictList('BABY_VISITS')}"
                                        className="form-control" name="babyVisits"></sys:select>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="table-title">其&#8195;&#8195;他</label>
                    </td>
                    <td>
                        <div class="col-sm-11 col-margin">
                            <input type="text" name="medicalOther" id="medicalOther"
                               value="${pregnantNatalcRecord.medicalOther}" class="form-control">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td width="10%" rowspan="10">
                        <label class="table-title">检&#8195;&#8195;查</label>
                    </td>
                    <td width="15%" rowspan="2">
                        <label class="table-title">物理检查</label>
                    </td>
                    <td width="65%">
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">体&#8195;&#8195;重：</label>
                            <div class="col-sm-4">
                                <input type="number" min="0" max="500" name="ckPhysicsWeight" id="ckPhysicsWeight"
                                       value="${pregnantNatalcRecord.ckPhysicsWeight}" class="form-control">
                            </div>
                            <label class="col-sm-2 control-label">Kg</label>
                        </div>
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">血&#8195;&#8195;压：</label>
                            <div class="col-sm-4">
                                <input type="number" min="0" max="500" name="ckPhysicsBp" id="ckPhysicsBp"
                                       value="${pregnantNatalcRecord.ckPhysicsBp}" class="form-control">
                            </div>
                            <label class="col-sm-2 control-label">mmHg</label>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td width="65%">
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">脉&#8195;&#8195;搏：</label>
                            <div class="col-sm-4">
                                <input type="number" min="0" max="500" name="ckPhysicsPulse" id="ckPhysicsPulse"
                                       value="${pregnantNatalcRecord.ckPhysicsPulse}" class="form-control">
                            </div>
                            <label class="col-sm-2 control-label">次/分</label>
                        </div>
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">乳&#8195;&#8195;房：</label>
                            <div class="col-sm-4">
                                <sys:select isNull="1" checkValue="${pregnantNatalcRecord.breast}"
                                            lists="${fns:getDictList('PREGNANT_BREAST')}"
                                            className="form-control" name="breast"></sys:select>
                            </div>
                            <label class="col-sm-2 control-label">mmHg</label>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td width="15%" rowspan="4">
                        <label class="table-title">妇科检查</label>
                    </td>
                    <td width="65%">
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">会&#8195;&#8195;阴：</label>
                            <div class="col-sm-6">
                                <sys:select isNull="1" checkValue="${pregnantNatalcRecord.ckGyPerineum}"
                                            lists="${fns:getDictList('PREGNANT_PERINEUM')}"
                                            className="form-control" name="ckGyPerineum"></sys:select>
                            </div>
                        </div>
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">阴&#8195;&#8195;道：</label>
                            <div class="col-sm-6">
                                <input type="text" name="ckGyVagina" id="ckGyVagina"
                                       value="${pregnantNatalcRecord.ckGyVagina}" class="form-control">
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td width="65%">
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">分泌物：</label>
                            <div class="col-sm-6">
                                <sys:select isNull="1" checkValue="${pregnantNatalcRecord.ckGySecretion}"
                                            lists="${fns:getDictList('PREGNANTED_SECRETION')}"
                                            className="form-control" name="ckGySecretion"></sys:select>
                            </div>
                        </div>
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">宫&#8195;&#8195;颈：</label>
                            <div class="col-sm-6">
                                <sys:select isNull="1" checkValue="${pregnantNatalcRecord.ckGyCervical}"
                                            lists="${fns:getDictList('PREGNANTED_CERVICAL')}"
                                            className="form-control" name="ckGyCervical"></sys:select>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td width="65%">
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">宫&#8195;&#8195;体：</label>
                            <div class="col-sm-6">
                                <sys:select isNull="1" checkValue="${pregnantNatalcRecord.ckGyUterus}"
                                            lists="${fns:getDictList('PREGNANTED_UTERUS')}"
                                            className="form-control" name="ckGyUterus"></sys:select>
                            </div>
                        </div>
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">附&#8195;&#8195;件：</label>
                            <div class="col-sm-6">
                                <sys:select isNull="1" checkValue="${pregnantNatalcRecord.ckGyUadnexa}"
                                            lists="${fns:getDictList('PREGNANTED_UADNEXA')}"
                                            className="form-control" name="ckGyUadnexa"></sys:select>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td width="65%">
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">腹部伤口：</label>
                            <div class="col-sm-6">
                                <sys:select isNull="1" checkValue="${pregnantNatalcRecord.ckGyPelvic}"
                                            lists="${fns:getDictList('PREGNANTED_ABDOMINAL_WOUND')}"
                                            className="form-control" name="ckGyPelvic"></sys:select>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td width="15%">
                        <label class="table-title">彩超检查</label>
                    </td>
                    <td width="65%">
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">盆&#8195;&#8195;腔：</label>
                            <div class="col-sm-6">
                                <input type="text"  name="ckPelvicUltrasound" id="ckPelvicUltrasound"
                                       value="${pregnantNatalcRecord.ckPelvicUltrasound}" class="form-control">
                            </div>
                        </div>
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">浅&#8195;&#8195;表：</label>
                            <div class="col-sm-6">
                                <input type="text" name="ckSuperficialColor" id="ckSuperficialColor"
                                       value="${pregnantNatalcRecord.ckSuperficialColor}" class="form-control">
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td width="15%" rowspan="3">
                        <label class="table-title">其他检查</label>
                    </td>
                    <td width="65%">
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">血常规：</label>
                            <div class="col-sm-6">
                                <input type="text"  name="ckRbt" id="ckRbt"
                                       value="${pregnantNatalcRecord.ckRbt}" class="form-control">
                            </div>
                        </div>
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">尿常规：</label>
                            <div class="col-sm-6">
                                <input type="text" name="ckUrineRoutine" id="ckUrineRoutine"
                                       value="${pregnantNatalcRecord.ckUrineRoutine}" class="form-control">
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td width="65%">
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">分泌物：</label>
                            <div class="col-sm-6">
                                <input type="text"  name="ckSecretionsR" id="ckSecretionsR"
                                       value="${pregnantNatalcRecord.ckSecretionsR}" class="form-control">
                            </div>
                        </div>
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">骨密度：</label>
                            <div class="col-sm-6">
                                <input type="text" name="ckBmd" id="ckBmd"
                                       value="${pregnantNatalcRecord.ckBmd}" class="form-control">
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td width="65%">
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">心电图：</label>
                            <div class="col-sm-6">
                                <input type="text"  name="ckEcg" id="ckEcg"
                                       value="${pregnantNatalcRecord.ckEcg}" class="form-control">
                            </div>
                        </div>
                        <div class="col-sm-6 col-margin">
                            <label class="col-sm-4 control-label">其&#8195;&#8195;他：</label>
                            <div class="col-sm-6">
                                <input type="text" name="ckOther" id="ckOther"
                                       value="${pregnantNatalcRecord.ckOther}" class="form-control">
                            </div>
                        </div></td>
                </tr>
                <tr>
                    <td width="10%" rowspan="3">
                        <label class="table-title">产后健康评估</label>
                    </td>
                    <td width="15%">
                        <label class="table-title">正&#8195;&#8195;常</label>
                    </td>
                    <td width="65%">
                        <div class="col-sm-11 col-margin">
                            <input type="text"  name="phaNormal"
                               id="phaNormal" value="${pregnantNatalcRecord.phaNormal}" class="form-control">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td width="15%">
                        <label class="table-title">诊断明确</label>
                    </td>
                    <td width="65%">
                        <div class="col-sm-11 col-margin">
                            <input type="text"  name="phaAbnormalDiag"
                               id="phaAbnormalDiag" value="${pregnantNatalcRecord.phaAbnormalDiag}" class="form-control">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td width="15%">
                        <label class="table-title">诊断不明确</label>
                    </td>
                    <td width="65%">
                        <div class="col-sm-11 col-margin">
                            <input type="text"  name="phaAbnormalNdiag"
                               id="phaAbnormalNdiag" value="${pregnantNatalcRecord.phaAbnormalNdiag}" class="form-control">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td></td>
                    <td>
                        <div class="col-sm-11 col-margin">
                            <div class="col-sm-6">
                                <label class="col-sm-4 control-label">检查医生：</label>
                                <div class="col-sm-7">
                                    <input type="text"   name="doctorUser" id="doctorUser"
                                           value="${pregnantNatalcRecord.doctorUser }" class="form-control">
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <label class="col-sm-4 control-label">检查时间：</label>
                                <div class="col-sm-7">
                                    <input type="text" name="checkDatetime"  id="checkDatetime"
                                           value="<fmt:formatDate value="${pregnantNatalcRecord.checkDatetime}" pattern="yyyy-MM-dd" type="date" dateStyle="long" />" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});" class="form-control Wdate">
                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
        </div>

    </form:form>
</div>
<script src="${ctxStatic}/js/doctor/pregnantNatalcRecordForm.js"></script>